package mapper;


import entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserMapper {
    //注册
    public int zhuce(@Param("userCode")String userCode,@Param("userPassword") String userPassword);
    //登录
    public User getUserById(@Param("userCode")String userCode,@Param("userPassword") String userPassword);
    //显示所有信息
    public List<User> searchAll();

}
